{template 'header-index'}
<link rel="stylesheet" type="text/css" href="{DT_SKIN}css/index.css"/>
<div class="doc-952">

           <div id="content">
				<div class="layout-p32a24">
                    <div class="grid-6">
                        <div class="mod-today-market">
                            <h3 class="hide"></h3>
                            <div class="content clear-self">
                                <div class="today-market-title">
                                    <h2>今日市场</h2><p><?php echo $showtime=date("m.d");?></p>
                                </div>
                                <dl class="today-info-statistics-list clear-self">
                                    <dt>会员总数</dt>
                                    {php $t=$db->get_one("SELECT COUNT(*) AS num FROM ".$DT_PRE."member WHERE groupid>4");}
                                    <dd>{$t[num]}09</dd>
                                    <dt>求购信息数</dt>
                                    {php $t=$db->get_one("SELECT COUNT(*) AS num FROM ".$DT_PRE."buy WHERE status=3");}
                                    <dd>{$t[num]}38</dd>
                                    <dt>供应信息数</dt>
                                    {php $t=$db->get_one("SELECT COUNT(*) AS num FROM ".$DT_PRE."sell WHERE status=3");}
                                    <dd>{$t[num]}9</dd>
                                    <dt>企业总数</dt>
                                    {php $t=$db->get_one("SELECT COUNT(*) AS num FROM ".$DT_PRE."company WHERE groupid>5");}
                                    <dd>{$t[num]}89</dd>
                                </dl>
                            </div>
                        </div>
                   <div class="mod-hot-news">
                            <div class="cell-header">
                                <h3 class="title">今日资讯</h3>
                                <div class="float-rt"><a href="{$MODULE[21][linkurl]}" title="更多" class="more">更多</a></div>
                            </div>
                            <div class="content">
                                    <ul class="info-list"> 
				<!--{php $tags=tag("moduleid=21&length=30&condition=status=3&order=addtime desc&pagesize=5&template=null");}-->
                      {loop $tags $i $t}
                                      <li><a href="{$t[linkurl]}">{$t[title]}</a></li>
                      {/loop}
                                </ul>
                            </div>
                        </div>
                        <div class="mod-hot-topics">
                            <div class="cell-header">
                                <h3 class="title">行情速递</h3>
                                <div class="float-rt"><a href="{$MODULE[7][linkurl]}" title="更多" class="more">更多</a></div>
                            </div>
                            <div class="content">
                                <ul class="info-list">
				<!--{php $tags=tag("moduleid=7&length=30&condition=status=3&order=addtime desc&pagesize=5&template=null");}-->
                      {loop $tags $i $t}
                                      <li><a href="{$t[linkurl]}">{$t[title]}</a></li>
                      {/loop}
                                </ul>
                            </div>
                        </div>
                                            </div>
                        
                    <div class="grid-12">
                        <div class="mod-slider-banner">{ad(14)}<!--472x184--></div>

                        <div class="realtime-info-wrap clear-self">
                            <div class="mod-realtime-supply">
                                <div class="cell-header">
                                    <h3 class="title"><em>卖家</em>即时供应</h3>
                                    <div class="float-rt">
                                        <a href="{$MODULE[5][linkurl]}" title="更多" class="more">更多</a>
                                    </div>
                                </div>
                                <div class="content">
                                  <ul class="info-list" id="isell">
                             <!--{php  $addtime = time() - 3*24*3600 ; }-->   
				<!--{php $tags=tag("moduleid=5&length=34&condition=status=3&pagesize=5&order=addtime&addtime<$addtime desc&template=null");}-->
                                  {loop $tags $k $t}
                                  <li><span class="f_r">[{area_pos($t[areaid], '/', 1)}]</span><a href="{$t[linkurl]}" target="_blank" title="{$t[alt]}">{$t[title]}</a></li>
                                  {/loop}
                                  </ul>
                                  <a onclick="ipage('sell', '-');" href="javascript:void(0)" target="_self" class="realtime-list-up"></a><a href="javascript:void(0)" target="_self" onclick="ipage('sell', '+');" class="realtime-list-down"></a>
                                </div>
                            </div>
                            <div class="mod-realtime-WTB">
                                <div class="cell-header">
                                    <h3 class="title"><em>买家</em>即时求购</h3>
                                    <div class="float-rt"><a href="{$MODULE[6][linkurl]}" title="更多" class="more">更多</a></div>
                                </div>
                                <div class="content">
                                  <ul class="info-list" id="ibuy">
				<!--{php $tags=tag("moduleid=6&length=34&condition=status=3&pagesize=5&order=addtime desc&template=null");}-->
                         {loop $tags $k $t}
                          <li><span class="f_r">[{area_pos($t[areaid], '/', 1)}]</span><a href="{$t[linkurl]}" target="_blank" title="{$t[alt]}">{$t[title]}</a></li>
                         {/loop}
                                  </ul>
                                  <a href="javascript:void(0)" target="_self" onclick="ipage('buy', '-');" class="realtime-list-up"></a><a href="javascript:void(0)" target="_self" onclick="ipage('buy', '+');" class="realtime-list-down"></a>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="grid-6 grid-fixed">
                        <div class="mod-user-operates">
                            <h3 class="hide"></h3>
                            <div class="content">
                                <ul class="user-operate-btns clear-self"> 
                                <!-- <?php echo $MODULE['2']['linkurl'];?><?php echo $DT['file_register'];?> !-->
                                    <li><a title="排名推广" href="./spread" class="register-btn" target="_blank"><span>排名推广</span></a></li>
                                    <li><a title="点击登录" href="{$MODULE[2][linkurl]}{$DT[file_login]}" class="login-btn"><span>登录</span></a></li>
                                    <li><a title="供应商入口" href="{$MODULE[2][linkurl]}" class="supplier-entrance-btn"><span>供应商入口</span></a></li>
                                </ul>
                            </div>
                        </div>
                        
                    <div class="mod-help-center">
                            <h3 class="hide"></h3>
                            <div class="content">
                                <ul class="help-center-tabs clear-self">
                                    <li class="f-tab-t current" id="m01"><a title="供求操作" href="javascript:void(0)">供求操作</a></li>
                                    <li class="f-tab-t" id="m02"><a title="企业推广" href="javascript:void(0)">企业推广</a></li>
                                    <li class="f-tab-t" id="m03"><a title="商铺管理" href="javascript:void(0)">商铺管理</a></li>
                                </ul>
                                <ul class="info-list" id="c01">
                                    <li><a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=5&action=add">发布供应信息</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=5">管理供应信息</a></li>
                                    <li><a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=6&action=add">发布求购信息</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid=6">管理求购信息</a></li>
                                </ul>
                                <ul class="info-list" id="c02">
                                    <li><a href="{extendurl('spread')}">立即开始关键字排名推广</a></li>
                                    <li><a  href="#">购买广告位来宣传自己的企业</a></li>
                                </ul>
                                <ul class="info-list" id="c03">
                                    <li><a href="{$MODULE[2][linkurl]}home.php">立即开通属于您企业的商铺</a></li>
                                    <li><a  href="{$MODULE[2][linkurl]}style.php">选择个性的模板来美化您的商铺</a></li>
                                </ul>
                            </div>
                        </div>

                        <div class="mod-supplier">
                            <div class="cell-header">
                                <h3 class="title">供应商精选</h3>
                                <div class="float-rt"><a href="{$MODULE[4][linkurl]}" title="更多" class="more">更多</a></div>
                            </div>
                            <div class="contentcom">
                             <ul class="info-list supplier-list">
                             <!--{php  $fromtime = time() - 23*24*3600 ; }-->   
				<!--{php $tags=tag("moduleid=4&condition=groupid>5 and vip>0 and catids<>'' and fromtime<$fromtime&pagesize=8&order=userid desc&template=null");}-->
                      {loop $tags $i $t}
                         <li><A href="{$t[linkurl]}" target="_blank">{$t[company]}</A></li>
                      {/loop}
                             </ul>
                            </div>
                        </div>
                        
                    </div>
                </div>
 <!--                
<div class="layout-p32a24">
    <div class="grid-24">
        <div class="asc-advertisement-top"><a class="a-img" href="#"><img src="{DT_SKIN}images/ad/163481991_0.jpg" width="952" height="40"></a></div>
    </div>
</div>
!-->
		<div id="catalog">
			{php $mid = 5;}
			{template 'catalogindex', 'chip'}
		</div>

<div class="layout-p32a24">
    <div class="grid-24">
        <div class="business-info-wrap">
            <div class="business-info fd-clr">
                <div class="part-left">
                    <div class="mod-business-opportunity">
    <div class="cell-header">
        <h3 class="title"><a title="商业资讯" href="{$MODULE[21][linkurl]}">商业资讯</a></h3>
        <p class="fd-left module-summary">小企业最实用的资讯平台</p>
        <div class="fd-right">
            <a href="{$MODULE[21][linkurl]}" title="更多" class="more">更多</a>
        </div>
    </div>
    
    <div class="content">
        <div class="recommended-business-opportunity fd-clr">
            <div>
		<!--{php $tags=tag("moduleid=21&condition=status=3 and level=4&pagesize=1&order=addtime desc&template=null");}-->
				{loop $tags $t}
                <a href="{$t[linkurl]}" class="a-img"><img src="{imgurl($t[thumb], 1)}" width="96" height="96"/></a>
				{/loop}
            </div>
            <dl class="type-content-list">
		<!--{php $tags=tag("moduleid=21&condition=status=3&pagesize=5&order=addtime desc&template=null");}-->
				{loop $tags $t}
                <dd><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></dd>
				{/loop}
            </dl>
        </div>
        <ul class="business-opportunity-list fd-clr">
		<!--{php $tags=tag("moduleid=21&condition=status=3 and level=1&pagesize=4&order=addtime desc&template=null");}-->
				{loop $tags $t}
            <li><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></li>
				{/loop}
        </ul>
        <div class="business-opportunity-advertisement">
            <a href="#" class="a-img"><img src="{DT_SKIN}images/ad/5198_504107427.gif"/></a>
        </div>
    </div>
</div>

<div class="mod-market-conditions">
    <div class="cell-header">
        <h3 class="title"><a title="价格行情" href="{$MODULE[7][linkurl]}">价格行情</a></h3><p class="fd-left module-summary">全面实用的价格行情中心</p>
        <div class="fd-right"><a href="{$MODULE[7][linkurl]}" title="更多" class="more">更多</a></div>
    </div>
    <div class="content">
        <ul class="market-conditions-list fd-clr">
		<!--{php $tags=tag("moduleid=7&condition=status=3&pagesize=12&order=addtime desc&template=null");}-->
				{loop $tags $t}
            <li><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></li>
				{/loop}
        </ul>
    </div>
</div>
</div>
                <div class="part-middle">
                    <div class="mod-trader-community">
    
        
       <div class="cell-header">
        <h3 class="title"><a href="{$MODULE[4][linkurl]}">最新公司</a></h3><p class="fd-left module-summary">VIP产品推广王道！</p>
        <div class="fd-right">
            <a href="{$MODULE[4][linkurl]}" title="更多公司" class="more">更多</a>
        </div>
    </div>
    <div class="content">
        <dl class="cell-product-3rd recommended-posts">
        		<!--{php $fromtime = time()-25*24*3600;}-->
                <!--{tag("moduleid=4&condition=vip>0 and  fromtime< ".$fromtime." and catids<>''&pagesize=".$DT[page_com]."&order=fromtime desc&template=list-com")}-->
				{loop $tags $t}
            <dt><a class="a-img" href="{$t[linkurl]}" target="_blank"><img src="{imgurl($t[thumb], 1)}" width="96" height="56" border="0"/></a></dt>
            <dd class="posts-title"><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></dd>
            <dd class="posts-summary">{$t[introduce]}…[<a href="{$t[linkurl]}" target="_blank">详细</a>]</dd>
				{/loop}
        </dl>
        
        
    </div>
</div>
                    <div class="mod-cloud-project">
    <div class="cell-header">
        <h3 class="title"><a>热门推荐</a></h3>
        <div class="question-types-wrap">
            <ul class="question-types fd-clr">
                <li class="question-type current" id="mm01">展会</li>
                <li class="question-type" id="mm02">招商</li>
                <li class="question-type" id="mm03">人才</li>
                <li class="question-type" id="mm04">专题</li>
                <li class="question-type" id="mm05">下载</li>
            </ul>
        </div>
    </div>
    <div class="content">
        
        <div class="type-questions-item" id="cc01">
            <ul class="question-list">
				<!--{php $tags=tag("moduleid=8&length=36&condition=status=3&pagesize=4&order=addtime desc&template=null");}-->
				{loop $tags $t}
                <li><a href="{$t[linkurl]}" target="_blank"><em>[{$t[city]}] &nbsp;</em> {$t[title]}</a></li>
				{/loop}
            </ul>
        </div>
        
        <div class="type-questions-item" style="display:none" id="cc02">
            <ul class="question-list">
				<!--{php $tags=tag("moduleid=22&length=36&condition=status=3&pagesize=4&order=addtime desc&template=null");}-->
				{loop $tags $t}
                <li><a href="{$t[linkurl]}" target="_blank"><em>[{timetodate($t[edittime], 2)}] &nbsp;</em> {$t[title]}</a></li>
				{/loop}
            </ul>
        </div>
                
        <div class="type-questions-item" style="display:none" id="cc03">
            <ul class="question-list">
				<!--{php $tags=tag("moduleid=9&length=36&condition=status=3&pagesize=4&order=addtime desc&template=null");}-->
                
				{loop $tags $t}
                <li><a href="{$t[linkurl]}" target="_blank"><em>[{$t[company]}] &nbsp;</em> {$t[title]}</a></li>
				{/loop}
            </ul>
        </div>
        
        <div class="type-questions-item" style="display:none" id="cc04">
            <ul class="question-list">
                <!--{tag("moduleid=11&length=36&condition=status=3&pagesize=4&order=addtime desc&template=index-ztlist")}-->
            </ul>
        </div>
        
        <div class="type-questions-item" style="display:none" id="cc05">
            <ul class="question-list">
				<!--{php $tags=tag("moduleid=15&length=43&condition=status=3&pagesize=4&order=addtime desc&template=null");}-->
				{loop $tags $t}
                <li><a href="{$t[linkurl]}" target="_blank"><em>&nbsp; <img src="{DT_PATH}file/ext/{$t[fileext]}.gif" align="absmiddle"/> &nbsp;</em> {$t[title]}</a></li>
				{/loop}
            </ul>
        </div>

    </div>
</div>

                    <div class="mod-help-platform">
    <div class="cell-header">
        <h3 class="title">求助广场</h3>
        <ul class="fd-right">
            <li class="help-tab current"></li>
        </ul>
    </div>
    <div class="content">
        
        <div class="question-exhibition-item current">
		<!--{php $tags=tag("moduleid=10&length=36&condition=status=3 and process>0&pagesize=1&order=addtime desc&template=null");}-->
		{loop $tags $t}
            <div class="recommended-question">
                <a href="{$t[linkurl]}" target="_blank"><span>{$t[title]}</span></a>
            </div>
            <ul class="recommended-answer-list">
                <li><a href="{$t[linkurl]}"><span>{$t[introduce]}…</span><!--<em>1位</em>--></a></li>
            </ul>
		{/loop}
            <div class="question-exhibition-list fd-clr">
		<!--{php $tags=tag("moduleid=10&length=18&condition=status=3 and process>0&pagesize=2&order=addtime desc&template=null");}-->
		{loop $tags $t}
                <a href="{$t[linkurl]}" target="_blank">{$t[title]}</a>
		{/loop}
            </div>
        </div>

        <div class="help-search-bar fd-clr">
            <form action="{$MODULE[10][linkurl]}search.php" onsubmit="return know_sch_check();">
            <input type="hidden" name="typeid" value="99" id="know_typeid"/>
            
            <input type="text" name="kw" id="know_kw" class="shuru" value="请输入问题" onfocus="if(this.value=='请输入问题')this.value='';"/>
            
            
                <button type="submit" onclick="$('know_typeid').value=99;"></button>
                <input type="submit" value="我要回答" class="huida" onclick="$('know_typeid').value=3;"/>
            </form>
        </div>
    </div>
</div>                </div>

                <div class="part-right">
                    <div class="mod-guess-you-like">
    <div class="cell-header">
        <h3 class="title"><a>推荐供应</a></h3>
        <div class="fd-right recommended-for-me">
            <a href="{$MODULE[5][linkurl]}" target="_blank">更多推荐</a>
        </div>
    </div>
    <div class="content">
        <ul class="recommended-projects-list fd-clr">
				<!--{php $tags=tag("moduleid=5&condition=status=3 and level>0 and thumb<>''&pagesize=6&order=addtime desc&template=null");}-->
                      {loop $tags $i $t}
             <li><a href="{$t[linkurl]}" target="_blank"><img src="{imgurl($t[thumb], 1)}" border="0"><span>{dsubstr($t[tag], 10)}</span></a></li>
                      {/loop}
        </ul>
    </div>
</div>

                    <div class="mod-recommended-companies">
    <div class="cell-header">
        <h3 class="title"><a title="热门企业" href="{$MODULE[4][linkurl]}">热门企业</a></h3><p class="fd-left module-summary">采购批发首选{VIP}企业</p>
    </div>
    <div class="content">
        <div class="hot-companies-container">
        <ul class="fd-clr">
				<!--{php $tags=tag("moduleid=4&condition=groupid>5 and catids<>''&pagesize=4&order=userid desc&template=null");}-->
                      {loop $tags $i $t}
        <li><a href="{$t[linkurl]}" target="_blank"><img src="{imgurl($t[thumb], 1)}"><span>{dsubstr($t[company], 13)}</span></a></li>
                      {/loop}
        </ul>
        </div>
				<!--{php $tags=tag("moduleid=15&length=43&condition=status=3 and level=1&pagesize=1&order=addtime desc&template=null");}-->
				{loop $tags $t}
        <div class="download-module"><a href="{$t[linkurl]}" target="_blank">{$t[title]}</a></div>
				{/loop}
    </div>
</div>                </div>
            </div>
        </div>
    </div>
</div>



<div class="layout-p32a24">




<div class="layout-p32a24">
    <div class="grid-24">
        <div class="business-info-wrap">
            <div class="business-info fd-clr">
                
                    <div class="mod-business-opportunity">
                        <div class="cell-header">
                            <h3 class="title"><a title="推荐企业" href="{$MODULE[4][linkurl]}">推荐企业</a></h3>
                            <p class="fd-left module-summary">小企业最实用的B2B贸易平台</p>
                            <div class="fd-right">
                                <a href="{$MODULE[4][linkurl]}" title="更多" class="more">更多</a>
                            </div>
                        </div>
    
                        <div >
                             <!--{php $fromtime = time()-30*24*3600;}-->
                            <!--{tag("moduleid=4&condition=vip>0 and  fromtime< ".$fromtime." and catids<>''&pagesize=40 &order=fromtime desc&template=index-list-com")}-->   
                        </div>
                    </div>
            </div>
        </div>
    </div>
     
</div>


<div class="layout-p32a24">
    <div class="grid-24">
        <div class="business-info-wrap">
            <div class="business-info fd-clr">
                
                    <div class="mod-business-opportunity">
                        <div class="cell-header">
                            <h3 class="title"><a title="随机推荐企业" href="{$MODULE[4][linkurl]}">&nbsp;随机推荐企业</a></h3>
                            <p class="fd-left module-summary">小企业最实用的B2B贸易平台</p>
                            <div class="fd-right">
                                <a href="{$MODULE[4][linkurl]}" title="更多" class="more">更多</a>
                            </div>
                        </div>
    
                        <div >
                             <!--{php $fromtime = time()-55*24*3600;}-->
                            <!--{tag("moduleid=4&condition=vip>0 and  fromtime< ".$fromtime." and catids<>''&pagesize=40 &order=fromtime desc&template=index-list-com")}-->   
                        </div>
                    </div>
            </div>
        </div>
    </div>
     
</div>

<div class="o-ab c-333 partners">
  <div class="hd"><span style="float:right; font-size:13px;"><a href="{extendurl('link')}{rewrite('index.php?action=reg')}">申请连接>></a></span><h2 class="fs-14 t-c">合作媒体</h2></div>
	{if $DT[page_logo]}
	<!--{tag("table=link&condition=status=3 and level>0 and thumb<>'' and username=''&pagesize=".$DT['page_logo']."&order=listorder desc,itemid desc&template=index-link_logo")}-->
	{/if}
	{if $DT[page_text]}
	<!--{tag("table=link&condition=status=3 and level>0 and thumb='' and username=''&pagesize=".$DT['page_text']."&order=listorder desc,itemid desc&template=index-link_text")}-->
	{/if}
</div>
<script type="text/javascript">
function scrollDoor(){
}
scrollDoor.prototype = {
sd : function(menus,divs,openClass,closeClass){
var _this = this;
if(menus.length != divs.length)
{
alert("菜单层数量和内容层数量不一样!");
return false;
}
for(var i = 0 ; i < menus.length ; i++)
{
_this.$(menus[i]).value = i;
_this.$(menus[i]).onmouseover = function(){
for(var j = 0 ; j < menus.length ; j++)
{
_this.$(menus[j]).className = closeClass;
_this.$(divs[j]).style.display = "none";
}
_this.$(menus[this.value]).className = openClass;
_this.$(divs[this.value]).style.display = "block";
}
}
},
$ : function(oid){
if(typeof(oid) == "string")
return document.getElementById(oid);
return oid;
}
}
window.onload = function(){
var SDmodel = new scrollDoor();
SDmodel.sd(["m01","m02","m03"],["c01","c02","c03"],"f-tab-t current","f-tab-t");
SDmodel.sd(["mm01","mm02","mm03","mm04","mm05"],["cc01","cc02","cc03","cc04","cc05"],"question-type current","question-type");
}
</script>
<script type="text/javascript" src="{DT_PATH}file/script/index.js"></script>
{template 'footer'}